package com.ruoyi.mail.service;

import java.util.List;

import javax.mail.MessagingException;
import javax.mail.NoSuchProviderException;

import com.ruoyi.mail.model.MailMessageInfo;

public interface MailManagementService {

    void ChangeMailSetting(String userName,String passWord);

    List<String> getFolderNames() throws MessagingException;

    List<MailMessageInfo> getMailMessageInfos(String folderName) throws MessagingException;


}
